package com.hjs.test.test;

import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.stream.IntStream;
import java.util.stream.Stream;

public class Tx {
    private static char toChar(int ascii){
        return (char) ascii;
    }

    private static char toLetter(int no){
        return (char) (String.valueOf(no).hashCode()%26+65);
    }
    public static void main(String[] args) throws InterruptedException {

        IntStream.range(1,5).forEach(x -> System.out.println(toLetter(x)));

        System.out.println(true || false && false);
        System.out.println("123".substring(1));
    }
}
